package com.baiyang.app.ui.bookshelf.workList;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.alibaba.fastjson.JSONObject;


public class WorkListViewModel extends ViewModel {

    private MutableLiveData<JSONObject> articleResult;

    public WorkListViewModel(){
        articleResult = new MutableLiveData<>();
    }

    public LiveData<JSONObject> getArticleResult() {
        return articleResult;
    }

    public void setArticleResult(JSONObject result){
        this.articleResult.postValue(result);
    }
}
